import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'eventOrder/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	add (data) {
		return request({
			url: 'eventOrder/add',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionCheck (data) {
		return request({
			url: 'eventOrder/actionCheck',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionRecheck (data) {
		return request({
			url: 'eventOrder/actionRecheck',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionMoney (data) {
		return request({
			url: 'eventOrder/actionmoney',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionUnfreeze (data) {
		return request({
 			url: 'eventOrder/actionunfreeze',
			headers: {},
			method: 'post',
			data,
		});
	},

	getTypeOptions (data) {
		return request({
			url: 'eventOrder/typeOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	getStepOptions (data) {
		return request({
			url: 'common/handleStatusOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	getStatusOptions (data) {
		return request({
			url: 'eventOrder/getstatusoptions',
			headers: {},
			method: 'post',
			data,
		});
	},

	getAccountTypeOptions (data) {
		return request({
			url: 'eventOrder/accountTypeOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	exportExcel (data) {
		return request({
			url: 'eventOrder/exportexcel',
			headers: {},
			method: 'post',
			data,
		});
	},
};